package com.company;

public class Main {

    public static void main(String[] args) {
	// write your code here
        //汽车类方法调用
//        Vehicle v1 = new Vehicle("benz","black");
//        v1.setSpeed(120);
//        v1.run();
//
//        Car car = new Car("Honda","red",2);
//        car.setSpeed(100);
//        car.run();


        //形状类方法调用
//        Rectangle rec = new Rectangle(3,5,"blue");
//        rec.showAll();
//
//        Circle c = new Circle(5,"red");
//        c.showAll();


    }
}
